




public class Node 
{
	public int index;  		// identifier node
	int count =0;;    		//ticks array counter\
	public Node[] array;	//stores the nodes that it is connected to 
	
	public Node(int index) 	// initializes Node's subnodes
	{
		this.index =index;
		
	}
	public Node(int index,int dimension) 	// initializes Nodes with a dimension of subnodes
	{
		this.index =index;
		array = new Node[dimension]; //the array gets size dimension because the 2d array is square 
		 
		for(int x = 0; x < dimension; x++)
		{
		array[x] = new Node(0);	 //creates initial index values of 0 for all subnodes
		
		}
		
		
	}
	
	
	
	public String toString()
	{
		return "";
	}


	



	
}